#include "sudoku.h"

int main(int argc, char* argv[])
{
   int inMatrix[81];
 
   int c=get_input(inMatrix,sizeof(inMatrix)/sizeof(inMatrix[0]),stdin);
 
   if (c!=81) { printf("Invalid input\n"); return 1; }

   Sudoku sudu;
   sudu.init(inMatrix);

   printf("The sudoku question is\n");
   printResult(NULL,sudu.cells);

   sudu.resolve(printResult,NULL);
   return 0;
}
